package com.dao;

import com.pojo.Button;
import com.pojo.Resources;

import java.util.List;

public interface ResourcesDao {
    public List<Resources> getResourcesAll(int uid);
    public List<Resources> getResourcesAll();
    public List<Resources> getResourcesBtnAll(int uid,int mid);

    public  List<Resources> getUserMenu(int uid, int type);
    public  List<Resources> getMenuByType( int type);
    public  Resources getMenuById( int mid);
    public  List<Button> getButtonAll();

    public int addResources(Resources resources);
}
